#LOCAL_PATH := $(call my-dir)
#include $(CLEAR_VARS)
#LOCAL_MODULE := png
#LOCAL_SRC_FILES := ../lib/libpng.a
#include $(PREBUILT_STATIC_LIBRARY)
#
#LOCAL_PATH := $(call my-dir)
#include $(CLEAR_VARS)
#LOCAL_MODULE := freetype 
#LOCAL_SRC_FILES := ../lib/libfreetype.a
#include $(PREBUILT_STATIC_LIBRARY)

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_MODULE    := MagickWand 
LOCAL_SRC_FILES := animate.c \
	composite.c \
	convert.c  \
	display.c  \
	drawtest.c \
	import.c   \
	magick-property.c \
	mogrify.c \
	pixel-iterator.c \
	stream.c  \
	wandtest.c \
	compare.c  \
	conjure.c    \
	deprecate.c  \
	drawing-wand.c  \
	identify.c  \
	magick-image.c  \
	magick-wand.c     \
	montage.c \
	pixel-wand.c \
	wand.c  \
	wand-view.c

LOCAL_C_INCLUDES += $(LOCAL_PATH)/.. /opt/local/include /opt/local/include/freetype2 /usr/local/include/ImageMagick
LOCAL_CFLAGS += -DHAVE_CONFIG_H
LOCAL_LDLIBS += -L$(LOCAL_PATH)/../lib -lfreetype -lpng -lz
LOCAL_STATIC_LIBRARIES += png freetype jpeg coders tiff-static filters
LOCAL_SHARED_LIBRARIES += png freetype jpeg coders tiff-static filters

include $(BUILD_STATIC_LIBRARY)
